[NTG-context] Define a new command that inherits from multiple other command options

2024-04-25 Thread ai2472206007
{\SMsidenoteconversion}% mark in text \SidenoteContent[#1]{\setscript[hanzi]\setup[\SMsidenotealign]% \convertsidenotemark{\SMsidenoteconversion}% mark with note #2 }} \protect \starttext 天地玄黄,宇宙洪荒。日月盈昃,辰宿列张。寒来暑往,秋收冬\sidenote[align=flushleft] {天地玄黄,宇宙洪荒。} \stoptext

Re: [NTG-context] horizontal space in CJK document

2023-02-22 Thread 李延瑞
Sylvain Hubert via ntg-context 于2023年2月21日周二 03:43写道: > > Dear list, > > Does anyone know how to insert a horizontal space in a CJK document with > \setscript[hanzi]? > > \setscript[hanzi] > \definefontfamily[mainface][rm][notoserifcjkhk][] > \setupbodyfont[mainface] &

Re: [NTG-context] horizontal space in CJK document

2023-02-21 Thread Sylvain Hubert via ntg-context
道: > >> Dear list, >> >> Does anyone know how to insert a horizontal space in a CJK document with >> \setscript[hanzi]? >> >> \setscript[hanzi] >> \definefontfamily[mainface][rm][notoserifcjkhk][] >> \setupbodyfont[mainface] >> \starttext &

Re: [NTG-context] horizontal space in CJK document

2023-02-20 Thread fv leung via ntg-context
Maybe the ideographic space U+3000 works. 在 2023年2月21日週二 03:42,Sylvain Hubert via ntg-context 寫道: > Dear list, > > Does anyone know how to insert a horizontal space in a CJK document with > \setscript[hanzi]? > > \setscript[hanzi] > \definefontfamily[mainfac

[NTG-context] horizontal space in CJK document

2023-02-20 Thread Sylvain Hubert via ntg-context
Dear list, Does anyone know how to insert a horizontal space in a CJK document with \setscript[hanzi]? \setscript[hanzi] \definefontfamily[mainface][rm][notoserifcjkhk][] \setupbodyfont[mainface] \starttext 口口\hspace[big]口口 % with \setscript[hanzi], the \hspace is ignored \dorecurse{100}{口

Re: [NTG-context] Is rendering furigana over horizontal or vertical japanese text doable in ConTeXt?

2022-09-03 Thread 黄复雄 via ntg-context
> I noticed an issue with multiple glyphs but am not sure why ... (so we > need very small examples to figure it out). I have observed a phenomenon that when the base text contains glues/spaces, an error occurs, as in the following example. Coincidentally, when using \setscript[hanzi], the

Re: [NTG-context] Can't no break between a close punctuation and a open punctuation

2022-09-02 Thread 黄复雄 via ntg-context
> > doc for example: > > > > ```lmtx > > \setscript[hanzi] > > \usetypescriptfile[mscore] > > \usebodyfont [mschinese,20pt] > > can you upgrade the chiese section in that file for windows 10+ as the > old fonts are gone > > (i tested with \defin

Re: [NTG-context] Is rendering furigana over horizontal or vertical japanese text doable in ConTeXt?

2022-08-22 Thread Hans Hagen via ntg-context
worked after I changed the font settings according to my Win10 OS; and surprisingly, the ruby module also worked with \setscript[hanzi] (they don't work together in the example Mr. Wolfgang provided). I noticed an issu ewith multiple glyphs but am not sure why ... (so we need very small examples

Re: [NTG-context] Is rendering furigana over horizontal or vertical japanese text doable in ConTeXt?

2022-08-21 Thread 黄复雄 via ntg-context
to my Win10 OS; and surprisingly, the ruby module also worked with \setscript[hanzi] (they don't work together in the example Mr. Wolfgang provided). The only problem is that the offsets of glyphs are a bit inaccurate, which may be related to the font, and I will look into it further. The examples I

Re: [NTG-context] Is rendering furigana over horizontal or vertical japanese text doable in ConTeXt?

2022-08-21 Thread 黄复雄 via ntg-context
Dear Wolfgang, thank you very much for your guidance. After changing the font settings according to my computer Win10 OS, the ruby module worked. But there is another problem, when I use `\setscript[hanzi]`, as follows %%%begin example \setscript[hanzi] \usetypescriptfile[mscore] \usebodyfont

Re: [NTG-context] Is rendering furigana over horizontal or vertical japanese text doable in ConTeXt?

2022-08-21 Thread 黄复雄 via ntg-context
Dear Wolfgang, thank you very much for your guidance. After changing the font settings according to my computer Win10 OS, the ruby module worked. But there is another problem, when I use `\setscript[hanzi]`, as follows %%%begin example \setscript[hanzi] \usetypescriptfile[mscore] \usebodyfont

Re: [NTG-context] Can't no break between a close punctuation and a open punctuation

2022-08-02 Thread 黄复雄 via ntg-context
, > } > > Thanks to your guidance, I solved the problem. And I would like to look into some other related issues that I have doubts about and get back to you together. So I need some more time. > > doc for example: > > > > ```lmtx > > \setscript[hanzi] > > \uset

Re: [NTG-context] Can't no break between a close punctuation and a open punctuation

2022-08-02 Thread Hans Hagen via ntg-context
= nobreak_autoshrink_break_stretch, } doc for example: ```lmtx \setscript[hanzi] \usetypescriptfile[mscore] \usebodyfont   [mschinese,20pt] can you upgrade the chiese section in that file for windows 10+ as the old fonts are gone (i tested with \definedfont[file:mingliu.ttc*chinese @ 10pt]) Hans

[NTG-context] Can't no break between a close punctuation and a open punctuation

2022-08-02 Thread 黄复雄 via ntg-context
`”` and `“`, or between `:` and `“`, so can not break at these places, as showed in following doc. But actually, we may sometimes need to do so. Please note that there is no space around full width punctuations in Chinese document. doc for example: ```lmtx \setscript[hanzi] \usetypescriptfile[mscore

[NTG-context] Can't no break between a close punctuation and a open punctuation

2022-07-29 Thread 黄复雄 via ntg-context
width punctuations in Chinese document. ```lmtx \setscript[hanzi] \usetypescriptfile[mscore] \usebodyfont [mschinese,20pt] \showframe % just for watching node list % \startluacode % local watch = require("watch_sys_actions.lua") % watch.register() % \stopluacode \starttext \d

Re: [NTG-context] [#1] CJK regression? | lmtx-20210613 .

2021-06-15 Thread Wolfgang Schuster
: % Support for Japanese \setscript[hanzi] \starttypescript[serif][sourcehanserifregular] \definefontsynonym[Serif][name:sourcehanserifregular][features={aalt,hist,kern,liga}] \stoptypescript \definetypeface[sourcehanserifregular][rm][serif][sourcehanserifregular] \define[1]\JA{\language[ja

[NTG-context] [#1] CJK regression? | lmtx-20210613 .

2021-06-13 Thread Richard Mahoney
I'm wondering if there has been a regression in the rendering of  CJK recently? I'm attaching two screenshots from the same code: one with lmtx-20210509 (correct); and the other lmtx-20210613 (incomplete). This is what I have in the setups: % Support for Japanese \setscript[hanzi

Re: [NTG-context] \setscript[hanzi] seems broken.

2021-05-20 Thread 李延瑞
com/adobe-fonts/source-han-serif/raw/release/OTF/SourceHanSerifSC_EL-M.zip > \definefontfamily[myfont][serif][sourcehanserifcn] > \setscript[hanzi] > \setupbodyfont[myfont,11pt] > \setuppapersize[A6][A6] > \starttext > 北冥有鱼,其名为鲲。鲲之大,不知其几千里也;化而为鸟,其名为鹏。鹏之背,不知其几千里也;怒而飞,其翼若垂天之云。是鸟也,海运则将徙于

[NTG-context] \setscript[hanzi] seems broken.

2021-05-20 Thread Li Yanrui
[myfont][serif][sourcehanserifcn] \setscript[hanzi] \setupbodyfont[myfont,11pt] \setuppapersize[A6][A6] \starttext 北冥有鱼,其名为鲲。鲲之大,不知其几千里也;化而为鸟,其名为鹏。鹏之背,不知其几千里也;怒而飞,其翼若垂天之云。是鸟也,海运则将徙于南冥。南冥者,天池也。 \stoptext ``` The command `context` gives the following output: Overfull \hbox (633.72849pt too wide

[NTG-context] Character rotation font feature available?

2016-02-14 Thread Zhichu Chen
range={0x00400-0x2FA1F}% ,force=yes% ,features=vertical% ] \definefontfamily [mainface] [serif] [TeX Gyre Termes] [features=vertical] \definefontfamily [mainface] [sans] [TeX Gyre Heros] [features=vertical] \definefontfamily [mainface] [mono] [TeX Gyre Cursor] [

[NTG-context] [***SPAM***] Re: [***SPAM***] How to reduce vertical spacing after this table

2013-07-08 Thread d.henman
|c|c|] \HL \VL X-ITEM \VL \VL$\oplus$ \footnote[hanzi]{Traditional Characters} \VL \VL$\oplus$ \note[hanzi]\VL\VL$\oplus$ \VL \VL$\oplus$ \VL\MR \VL Y-ITEM\VL \VL$\oplus$ \VL \VL$\oplus$ \VL \VL$\oplus$ \VL \VL$\oplus

[NTG-context] [***SPAM***] How to reduce vertical spacing after this table

2013-07-06 Thread hwitloc
\midaligned { \placetable[here,none][]{} { \setuptables[bodyfont=10pt,after=\nowhitespace,spaceafter=none] \starttable[|c|c|c|c|c|c|c|c|c|] \HL \VL X-ITEM \VL \VL$\oplus$ \footnote[hanzi]{Traditional Characters} \VL \VL$\oplus$ \note[hanzi]\VL\VL$\oplus

Re: [NTG-context] [***SPAM***] How to reduce vertical spacing after this table

2013-07-06 Thread Wolfgang Schuster
][numberconversion=fnsym,rule=off] % change footnote symbols \midaligned { \placetable[here,none][]{} { \setuptables[bodyfont=10pt,after=\nowhitespace,spaceafter=none] \starttable[|c|c|c|c|c|c|c|c|c|] \HL \VL X-ITEM \VL \VL$\oplus$ \footnote[hanzi]{Traditional

Re: [NTG-context] how to change the distance between two words?

2013-01-19 Thread Wolfgang Schuster
] \setmonofont[TeX Gyre Cursor] % Monaco \setcjkmainfont[Fang Song] \setcjkmonofont[Fang Song] \setupbodyfont[9pt] \setscript[hanzi] \starttext 无线传感网络存在分布的跨区域性,随着无线传。 English font is no problem! \stoptext Wolfgang

Re: [NTG-context] how to change the distance between two words?

2013-01-19 Thread 土卜皿
Heros] \setmonofont[TeX Gyre Cursor] % Monaco \setcjkmainfont[Fang Song] \setcjkmonofont[Fang Song] \setupbodyfont[9pt] \setscript[hanzi] \starttext 无线传感网络存在分布的跨区域性,随着无线传。 English font is no problem! \stoptext Wolfgang

Re: [NTG-context] Chinese footnotes too wide

2012-10-30 Thread Wolfgang Schuster
are in the hyphenations patterns but none of this applies for chinese, to enable line breaks you have to add \setscript[hanzi] to your document. With this commands context checks the input for chinese and breaks lines at valid points. Wolfgang

Re: [NTG-context] Chinese footnotes too wide

2012-10-30 Thread John Devereux
lines only at spaces or between word which are in the hyphenations patterns but none of this applies for chinese, to enable line breaks you have to add \setscript[hanzi] to your document. With this commands context checks the input for chinese and breaks lines at valid points. Hi Wolfgang

Re: [NTG-context] Chinese footnotes too wide

2012-10-30 Thread Wolfgang Schuster
extend past the right hand edge of the page. By default context breaks lines only at spaces or between word which are in the hyphenations patterns but none of this applies for chinese, to enable line breaks you have to add \setscript[hanzi] to your document. With this commands context checks

Re: [NTG-context] Chinese footnotes too wide

2012-10-30 Thread John Devereux
. Another issue I have is footnotes. Chinese footnotes extend past the right hand edge of the page. By default context breaks lines only at spaces or between word which are in the hyphenations patterns but none of this applies for chinese, to enable line breaks you have to add \setscript[hanzi

[NTG-context] WG: Problem with simplefonts, placing of period

2012-07-31 Thread Martin Althoff
tight when \setscript[hanzi] is used. Thanks for any replies! Martin I am experiencing a problem with the placement of the period . after a sentence. In the example below it's the one after (Englisch). Once the line \setscript[hanzi] is uncommented, the period sits under, before or far

[NTG-context] [***SPAM***] Problem with simplefonts, placing of period

2012-07-30 Thread Martin
Hi All, I am experiencing a problem with the placement of the period . after a sentence. In the example below it's the one after (Englisch). Once the line \setscript[hanzi] is uncommented, the period sits under, before or far after the closing bracket depending on borders or text before/after

Re: [NTG-context] Asian Language Support

2012-05-09 Thread KUROKI Yusuke
, firstly met Hans and had a lecture about Japanese typography and typesetting. Now it is the duration to prepare to think about Japanese typesetting in ConTeXt. It is note that hanzi option of ConTeXt is ugly for Japanese typesetting, it must come from some Chinese typesetting custom. We need

Re: [NTG-context] Asian Language Support

2012-05-08 Thread KUROKI Yusuke
about Japanese typography and typesetting. Now it is the duration to prepare to think about Japanese typesetting in ConTeXt. It is note that hanzi option of ConTeXt is ugly for Japanese typesetting, it must come from some Chinese typesetting custom. We need to define a handler similar to chinese

Re: [NTG-context] Asian Language Support

2012-05-08 Thread KUROKI Yusuke
simplefonts), because most Japanese fonts have terrible Latin fonts... I can probably help you, if you tell me what exactly you need. If you're just typesetting Japanese text, you will need \setscript[hanzi] to enable linebreaks... And the rest is done by Unicode magic: just type away between \starttext

Re: [NTG-context] Asian Language Support

2012-05-08 Thread Hans Hagen
, but we need to rethink 'kanji' is most appreciate or not. we use hangul for korean and hanzi for chinese so kanji sounds ok to me but in fact there a bit more to it, currently we have \definescript[hangul] [method=hangul] \definescript[hanzi] [method=hanzi] \definescript[nihongo] [method=nihongo

Re: [NTG-context] Asian Language Support

2012-05-07 Thread S Barmeier
typesetting Japanese text, you will need \setscript[hanzi] to enable linebreaks... And the rest is done by Unicode magic: just type away between \starttext and \stoptext Severin ___ If your question is of interest to others

Re: [NTG-context] Asian Language Support

2012-05-07 Thread KUROKI Yusuke
Hello, Henman, What the timing you choose to post this message! Several days ago, I, Japanese, firstly met Hans and had a lecture about Japanese typography and typesetting. Now it is the duration to prepare to think about Japanese typesetting in ConTeXt. It is note that hanzi option of ConTeXt

Re: [NTG-context] Asian Language Support

2012-05-07 Thread S Barmeier
, firstly met Hans and had a lecture about Japanese typography and typesetting. Now it is the duration to prepare to think about Japanese typesetting in ConTeXt. It is note that hanzi option of ConTeXt is ugly for Japanese typesetting, it must come from some Chinese typesetting custom. In TeX

Re: [NTG-context] Asian Language Support

2012-05-07 Thread KUROKI Yusuke
Hello, Henman-san, Is it the font or the spacing that is bad in simplefont? It is not the problem of simplefont itself, I think. The problem is the rules of hanzi option does not have such a good quality in spacing and line-breaking for Japanese typesetting. can ptex be used with ConTeXt

Re: [NTG-context] Asian Language Support

2012-05-07 Thread Hans Hagen
that hanzi option of ConTeXt is ugly for Japanese typesetting, it must come from some Chinese typesetting custom. We need to define a handler similar to chinese and korean, but with japanese rules etc. I will make a basic setup so that we have a starting point. It would be handy to have some test

Re: [NTG-context] Asian Language Support

2012-05-07 Thread Hans Hagen
exactly you need. If you're just typesetting Japanese text, you will need \setscript[hanzi] to enable linebreaks... And the rest is done by Unicode magic: just type away between \starttext and \stoptext I uploaded a beta with preliminary Japanese script support. \enabletrackers[scripts.analyzing

Re: [NTG-context] Asian Language Support

2012-05-07 Thread KUROKI Yusuke
[hanzi] to enable linebreaks... And the rest is done by Unicode magic: just type away between \starttext and \stoptext I uploaded a beta with preliminary Japanese script support. \enabletrackers[scripts.analyzing] % \enabletrackers[scripts.injections] \enabletrackers[scripts.details

Re: [NTG-context] Chinese hyphenation / line splitting

2012-04-16 Thread Wolfgang Schuster
, hopefully is not offensive... == \usemodule[simplefonts] \setmainfont[Adobe Heiti Std] %\setmainfont[Arial Unicode MS] Add \setscript[hanzi]. Wolfgang

[NTG-context] glyph width issues with \setscript[hanzi]

2012-03-10 Thread S Barmeier
Not quite sure what causes this problem, but for particular text widths in combination with \setscript[hanzi], the glyph width gets thrown off. \setuplayout[width=110mm,height=200mm] \usemodule[simplefonts] \setscript[hanzi] \setcjkmainfont[IPAexMincho] \starttext ?? \input tufte \stoptext

Re: [NTG-context] CJK hyphenation/line breaking

2012-03-09 Thread Wolfgang Schuster
with spaces anyway). I can do this by hand if absolutely necessary, by inserting fake spaces \ \!, but this gets quite tedious, and it seems line breaking for CJ(K) would be nice to have. I remember it working about a year and a half ago(?)… \setscript[hanzi] \starttext … \stoptext Wolfgang

Re: [NTG-context] Error while compiling : ! String contains an invalid utf-8 sequence.

2011-12-07 Thread Alexandre Krispin
Thank you for your answer ! Finally I am back to Latex until this problem is fixed. Though I have no knowledge about it, it seemed to me that the problem I got was more related to hanzi script than to bibtex, since the final problem of misplaced dots I had appeared only with hanzi script. Hans

Re: [NTG-context] Error while compiling : ! String contains an invalid utf-8 sequence.

2011-12-07 Thread Hans Hagen
On 7-12-2011 17:37, Alexandre Krispin wrote: Thank you for your answer ! Finally I am back to Latex until this problem is fixed. Though I have no knowledge about it, it seemed to me that the problem I got was more related to hanzi script than to bibtex, since the final problem of misplaced dots

Re: [NTG-context] Error while compiling : ! String contains an invalid utf-8 sequence.

2011-11-30 Thread Alexandre Krispin
Hello, I had no response for the problem related to the script hanzi, and the reason may be that I have done a mistake since I have sent a mail only to Wolfgang Schuster and not to the mailing list. So in case there would be a solution to solve the problem of misplaced dots that the script hanzi

Re: [NTG-context] Error while compiling : ! String contains an invalid utf-8 sequence.

2011-11-28 Thread Alexandre Krispin
Yes for sure, thanks to the script Wolfgang Schuster pointed out to me earlier in the discussion : \setscript[hanzi] 2011/11/28 S Barmeier severinbarme...@googlemail.com On 11/27/2011 11:44 PM, ntg-context-requ...@ntg.nl wrote: Send ntg-context mailing list submissions to ntg-context

Re: [NTG-context] Error while compiling : ! String contains an invalid utf-8 sequence.

2011-11-28 Thread Wolfgang Schuster
as in the bibliography, lines don't break and go through the page. As I already told you need “\setscript[hanzi]” to enable linbreaks for chinese and japanese. Instead of a global setting you can also write \startscript[hanzi] … \stopscript to enable linebreaking for a area. Another valid

Re: [NTG-context] Error while compiling : ! String contains an invalid utf-8 sequence.

2011-11-26 Thread Wolfgang Schuster
as in the bibliography, lines don't break and go through the page. Though I have looked to documentation about chinese on the wiki, none helped me to solve this problem. Does someone have any idea ? Add “\setscript[hanzi]” to your document. Wolfgang

Re: [NTG-context] Error while compiling : ! String contains an invalid utf-8 sequence.

2011-11-26 Thread Alexandre Krispin
. Does someone have any idea ? Add “\setscript[hanzi]” to your document. Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http

Re: [NTG-context] \setscript[hanzi] conflicts with some symbols

2011-06-26 Thread Hans Hagen
On 26-6-2011 4:01, Li Yanrui (李延瑞) wrote: \definefontsynonym[pagella][name:texgyrepagellar] \definefontfallback[hanzi][name:adobesongstd][0x00400-0x2FA1F] \definefontsynonym[myfont][pagella][fallbacks=hanzi] \definefont[song][myfont] \setscript[hanzi] \starttext \song 测试 \METAPOST \stoptext

[NTG-context] \setscript[hanzi] conflicts with some symbols

2011-06-25 Thread 李延瑞
Hi Hans, In the beta 2011.06.25, \setscript[hanzi] can not coexist with the symbols such as \METAPOST. Please see the following example: \definefontsynonym[pagella][name:texgyrepagellar] \definefontfallback[hanzi][name:adobesongstd][0x00400-0x2FA1F] \definefontsynonym[myfont][pagella][fallbacks

Re: [NTG-context] \setscript[hanzi] and kana

2011-06-23 Thread Wolfgang Schuster
Am 23.06.2011 um 00:01 schrieb Hans Hagen: japanese is not yet defined; we need entries in scrp-ini and scrp-cjk for that, character categories and initializations and we need japanese expertise for that Japanese is supported (it’s only a few extra chars for the chinese code) and worked

Re: [NTG-context] \setscript[hanzi] and kana (Wolfgang Schuster)

2011-06-23 Thread S Barmeier
On 06/24/2011 12:39 AM, ntg-context-requ...@ntg.nl wrote: japanese is not yet defined; we need entries in scrp-ini and scrp-cjk for that, character categories and initializations and we need japanese expertise for that Japanese is supported (it?s only a few extra chars for the chinese

Re: [NTG-context] \setscript[hanzi] and kana (Wolfgang Schuster)

2011-06-23 Thread Wolfgang Schuster
Am 23.06.2011 um 20:23 schrieb S Barmeier: Japanese was working more or less a few months ago. It was working till February (I tested it with a old beta) and also when i comment the mentioned but i have no clue what’s the purpose of the line. I guess vertical typesetting is a little more

Re: [NTG-context] \setscript[hanzi] and kana (Wolfgang Schuster)

2011-06-23 Thread Hans Hagen
On 23-6-2011 8:52, Wolfgang Schuster wrote: Am 23.06.2011 um 20:23 schrieb S Barmeier: Japanese was working more or less a few months ago. It was working till February (I tested it with a old beta) and also when i comment the mentioned but i have no clue what’s the purpose of the line. I

Re: [NTG-context] \setscript[hanzi] and kana (Wolfgang Schuster)

2011-06-23 Thread Wolfgang Schuster
Am 23.06.2011 um 21:11 schrieb Hans Hagen: On 23-6-2011 8:52, Wolfgang Schuster wrote: Am 23.06.2011 um 20:23 schrieb S Barmeier: I guess vertical typesetting is a little more involved, but as far as horizontal typesetting goes, most of the spacing is coded into the font already

Re: [NTG-context] \setscript[hanzi] and kana (Wolfgang Schuster)

2011-06-23 Thread Hans Hagen
On 23-6-2011 11:23, Wolfgang Schuster wrote: Am 23.06.2011 um 21:11 schrieb Hans Hagen: On 23-6-2011 8:52, Wolfgang Schuster wrote: Am 23.06.2011 um 20:23 schrieb S Barmeier: I guess vertical typesetting is a little more involved, but as far as horizontal typesetting goes, most of the

Re: [NTG-context] \setscript[hanzi] and kana

2011-06-23 Thread Hans Hagen
On 23-6-2011 5:39, Wolfgang Schuster wrote: Am 23.06.2011 um 00:01 schrieb Hans Hagen: japanese is not yet defined; we need entries in scrp-ini and scrp-cjk for that, character categories and initializations and we need japanese expertise for that Japanese is supported (it’s only a few

[NTG-context] \setscript[hanzi] and kana

2011-06-22 Thread Wolfgang Schuster
Hi, with \setscript[hanzi] kanji are broken at the end of the line but no kana. \setuplayout[width=4cm]\showframe \setscript[hanzi] \enabletrackers[scripts.analyzing] \starttext \definedfont[file:kozminpr6nregular] にほんにほんにほんにほん 日本日本日本日本日本日本 \stoptext Wolfgang

Re: [NTG-context] \setscript[hanzi] and kana

2011-06-22 Thread Hans Hagen
On 22-6-2011 8:09, Wolfgang Schuster wrote: Hi, with \setscript[hanzi] kanji are broken at the end of the line but no kana. \setuplayout[width=4cm]\showframe \setscript[hanzi] \enabletrackers[scripts.analyzing] \starttext \definedfont[file:kozminpr6nregular] にほんにほんにほんにほん 日本日本日本日本日本日本

Re: [NTG-context] no line break in CJK text in footnotes

2011-04-18 Thread 李延瑞
2011/4/8 Li Yanrui (李延瑞) liyanrui...@gmail.com: Hi Hans, At least for the beta 2011.04.03, the line break can not work for cjk text in footnotes. See the following example: \definefontsynonym[Serif][name:adobesongstd] \definetypeface[myfonts][rm][serif][myfonts][default] \setscript[hanzi

[NTG-context] no line break in CJK text in footnotes

2011-04-07 Thread 李延瑞
Hi Hans, At least for the beta 2011.04.03, the line break can not work for cjk text in footnotes. See the following example: \definefontsynonym[Serif][name:adobesongstd] \definetypeface[myfonts][rm][serif][myfonts][default] \setscript[hanzi] \setupbodyfont[myfonts,rm,11pt] \starttext

Re: [NTG-context] a bug in the scrp-cjk.lua

2011-02-21 Thread Hans Hagen
On 21-2-2011 2:00, Li Yanrui (李延瑞) wrote: Hi Hans, The 'get_attribute' function is not be replaced with 'has_attribute' in the second 'process' function of 'hanzi' section in the scrp-cjk.lua. ok, adapted

[NTG-context] a bug in the scrp-cjk.lua

2011-02-20 Thread 李延瑞
Hi Hans, The 'get_attribute' function is not be replaced with 'has_attribute' in the second 'process' function of 'hanzi' section in the scrp-cjk.lua. -- Best regards, Li Yanrui ___ If your question is of interest

Re: [NTG-context] using \definebodyfont with multiple size declarations -- Why?

2010-07-28 Thread Martin Althoff
/fonts/truetype/ttf/ %\setcjkmainfont[htsong] % serif, regular %\setcjksansfont[hthei] % sans %\setcjkmonofont[htsong] % mono \setscript[hanzi] \starttext Where there is a will, there is a way. 我命由我不由天 \blank {\rm Serif: 兡也包因沘氓侷柵苗孫孫財 text 兡也包因沘氓侷柵苗孫孫財} %{\ss Sans: 兡也包因沘氓侷柵苗孫孫財 text 兡也包因沘氓侷柵苗孫孫財

[NTG-context] Problem with the 'scrp-cjk.lua'

2009-11-29 Thread Yanrui Li
Hi Hans, In the *hanzi* part of scrp-cjk.lua, there is: local injectors = { -- [previous] [current] ... ... ... full_width_close = { ... ... ... chinese = nobreak_shrink_break_stretch, ... ... ... This causes that lines can not be broken after some

Re: [NTG-context] Problem with the 'scrp-cjk.lua'

2009-11-29 Thread Hans Hagen
Yanrui Li wrote: Hi Hans, In the *hanzi* part of scrp-cjk.lua, there is: local injectors = { -- [previous] [current] ... ... ... full_width_close = { ... ... ... chinese = nobreak_shrink_break_stretch, ... ... ... This causes that lines can

Re: [NTG-context] XeConTeXt bug report I: strange benchmark

2009-05-12 Thread Yue Wang
(not 1 times) and then use \bf, \sl, \itc etc which are pretty fast for multilingual typesetting this is different. different fonts will be used for full-width punctuations, cjk-characters (maybe also splict to ruby, kanji, hangul and hanzi), cjk-exta, cjk-extb, and latin. for a not-so-long

Re: [NTG-context] new beta

2009-04-06 Thread Yanrui Li
2009/4/6 Hans Hagen pra...@wxs.nl: Hi, I uploaded a new beta. Last week(ends) fixes are merged in. Sorry for my noise. It seems that Chinese linebreak fails. Maybe \setscript[hanzi] doesn't work. -- Best wishes, Li Yanrui * Gentoo Linux (~x86) * ConTeXt Minimals Beta (2009.04.06 12:23

Re: [NTG-context] new beta

2009-04-06 Thread Yanrui Li
2009/4/6 Yanrui Li liyanrui...@gmail.com: 2009/4/6 Hans Hagen pra...@wxs.nl: Hi, I uploaded a new beta. Last week(ends) fixes are merged in. Sorry for my noise. It seems that Chinese linebreak fails. Maybe \setscript[hanzi] doesn't work. The attachment is my test example. -- Best

Re: [NTG-context] new beta

2009-04-06 Thread Hans Hagen
Yanrui Li wrote: 2009/4/6 Yanrui Li liyanrui...@gmail.com: 2009/4/6 Hans Hagen pra...@wxs.nl: Hi, I uploaded a new beta. Last week(ends) fixes are merged in. Sorry for my noise. It seems that Chinese linebreak fails. Maybe \setscript[hanzi] doesn't work. ok, i see the problem

Re: [NTG-context] new beta

2009-04-06 Thread Hans Hagen
Yanrui Li wrote: 2009/4/6 Yanrui Li liyanrui...@gmail.com: 2009/4/6 Hans Hagen pra...@wxs.nl: Hi, I uploaded a new beta. Last week(ends) fixes are merged in. Sorry for my noise. It seems that Chinese linebreak fails. Maybe \setscript[hanzi] doesn't work. fixed

Re: [NTG-context] new beta

2009-04-06 Thread Yanrui Li
2009/4/7 Hans Hagen pra...@wxs.nl: Yanrui Li wrote: 2009/4/6 Yanrui Li liyanrui...@gmail.com: 2009/4/6 Hans Hagen pra...@wxs.nl: Hi, I uploaded a new beta. Last week(ends) fixes are merged in. Sorry for my noise. It seems that Chinese linebreak fails. Maybe \setscript[hanzi] doesn't

[NTG-context] Why can not rm or rmtf fonts be set up by \definebodyfont macro?

2009-04-05 Thread Yanrui Li
[Hei][AdobeHeitiStd-Regular] \definefontsynonym[FangSong][AdobeFangsongStd-Regular] \definefontsynonym[Kai][AdobeKaitiStd-Regular] \definebodyfont[12pt][rm] [tf=Song, bf=Hei sa 1, it=Kai sa 1, sl=FangSong sa 1] \setscript[hanzi

Re: [NTG-context] Why can not rm or rmtf fonts be set up by \definebodyfont macro?

2009-04-05 Thread Wolfgang Schuster
] \definefontsynonym [Serif] [Song] \stoptypescript \definetypeface [chinese] [rm] [serif] [chinese] [default] \setscript[hanzi] \setupbodyfont[chinese,rm,12pt] \starttext \startlines \tf 今时之人不然也,以酒为浆,以妄为常, \bf 醉以入房,以欲竭其精,以耗散其真, \it 不知持满,不时御神, \sl 务快其心,逆于生乐,起居无节,故半百而衰也。 \stoplines \stoptext

Re: [NTG-context] Why can not rm or rmtf fonts be set up by \definebodyfont macro?

2009-04-05 Thread Yanrui Li
] [tf=Song, bf=Hei sa 1, it=Kai sa 1, sl=FangSong sa 1] \setscript[hanzi] \setupbodyfont[rm,11pt] -- Best wishes, Li Yanrui * Gentoo Linux (~x86) * ConTeXt Minimals Beta (2009.03.29 13:28

Re: [NTG-context] Making necessary OpenType features on by default

2009-02-22 Thread Otared Kavian
+b^2 = c^2$. And this is some Arabic text written and typeset from right to left, in the midst of some English text: \startArabic سلام خالد، درود بر ادریس \stopArabic and analogously this is in Hanzi \startHanzi 大家你好 stopHanzi \stoptext I understand that this can be done by each user upon

Re: [NTG-context] Making necessary OpenType features on by default

2009-02-22 Thread Otared Kavian
$. And this is some Arabic text written and typeset from right to left, in the midst of some English text: \startArabic سلام خالد، درود بر ادریس \stopArabic and analogously this is in Hanzi \startHanzi 大家你好 stopHanzi \stoptext I understand that this can be done by each user upon defining his own

Re: [NTG-context] new beta

2009-02-19 Thread Yanrui Li
2009/2/18 Hans Hagen pra...@wxs.nl: Hi, There is a new beta: a few additions to math as well as a prelude to new cjk support, now to be triggered explicitly (since the methods differ too much we cannot share them) \setscript[hangul] \setscript[hanzi]% arthur, is this the right name

Re: [NTG-context] new beta

2009-02-19 Thread Hans Hagen
Yanrui Li wrote: 2009/2/18 Hans Hagen pra...@wxs.nl: Hi, There is a new beta: a few additions to math as well as a prelude to new cjk support, now to be triggered explicitly (since the methods differ too much we cannot share them) \setscript[hangul] \setscript[hanzi]% arthur

Re: [NTG-context] new beta

2009-02-19 Thread Hans Hagen
be allowed between U+1161 and U+1102. ok, but that's the chinese (hanzi) rule set, i added it it, but the chinese ruleset probably needs some more checking btw, there is not much halfwidth correction code enabled yet but first we need to decide on a reference font for chinese (or korean we have

Re: [NTG-context] new beta

2009-02-18 Thread Dohyun Kim
2009/2/18 Hans Hagen pra...@wxs.nl: Hi, There is a new beta: a few additions to math as well as a prelude to new cjk support, now to be triggered explicitly (since the methods differ too much we cannot share them) \setscript[hangul] \setscript[hanzi]% arthur, is this the right name

[NTG-context] new beta

2009-02-17 Thread Hans Hagen
Hi, There is a new beta: a few additions to math as well as a prelude to new cjk support, now to be triggered explicitly (since the methods differ too much we cannot share them) \setscript[hangul] \setscript[hanzi]% arthur, is this the right name? Hans

Re: [NTG-context] new beta

2009-02-17 Thread Arthur Reutenauer
\setscript[hanzi]% arthur, is this the right name? That's indeed the Pinyin transcription of the word for Chinese character, even if it's not widely used in English. The OpenType script tag, hani, is short for Han Ideograph. Arthur